package com.kangyi.user.mapper;

import com.kangyi.vo.PublicActivityDetailVO;
import com.kangyi.vo.PublicActivityImgVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author Blank
 * @version 1.0
 */
@Mapper
public interface PublicActivityImgMapper {

    List<PublicActivityImgVO> inquiryPublicActivityImgBatch(List<Integer> publicActivityIds);

    PublicActivityDetailVO detailPublicActivity(Integer id);

    @Select("select * from public_activity_img where public_activity_id = #{publicActivityId};")
    List<PublicActivityImgVO> selectByPublicActivityId(Integer publicActivityId);
}
